home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 August: Tool Chest / Apple_Developer_Group_August_1996_Tool_Chest.iso / Sample Code / Snippets / Devices / ModifyMouseAccl / ModifyMouseAccl Readme < prev    next >
Encoding:
Text File  |  1996-04-25  |  1.3 KB  |  25 lines  |  [TEXT/CWIE]

  1. /*
  2.     Sample Program - ModifyMouseAccl, demonstrates the use of the CursorDeviceManager
  3.     to adjust the mouse acceleration setting for the standard Apple mouse.
  4.     
  5.     This quick sample obtains the CDM record associated with the standard mouse, saves
  6.     the acceleration settings, then replaces the settings with some custom values
  7.     defined in the program.  There is the option to specify a tablet like setting, or 
  8.     one which makes the mouse extremely sensitive to movement.  Set the define NOACCLCURVE
  9.     to the desired value.  A discussion of the acceleration resource is 
  10.     provided in the Space Aliens ADB Tech Note.
  11.     
  12.     Once the new values are set, the program makes the CursorDeviceSetAcceleration
  13.     call, to have the Cursor Device Manager calculate the new acceleration curves to
  14.     be used by the cursor draw routine.  After waving the mouse around to see that
  15.     the new acceleration curve is in effect, press the mouse button to have the program
  16.     restore the original acceleration settings, and to quit the program.
  17.  
  18.     Note that there is the included glue file CursorDevices.Glue.c.  This glue file
  19.     is used in conjunction with the CursorDevices.h header file which became available
  20.     since ETO 18.  Use this glue file to link a native PPC program with the 
  21.     CursorDevice Manager routines.  
  22.     
  23.     Rich Kubota - Developer Technical Support
  24.  
  25. */